﻿using System;
using System.Runtime.InteropServices;

namespace HelloGolang
{
    class Program
    {
        [DllImport(
            "HelloGolang.Interop.dll",
            EntryPoint = "Test",
            CallingConvention = CallingConvention.Cdecl
        )]
        public static extern void Test();

        private static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            Test();
            Console.ReadLine();
        }
    }
}